import Vue from 'vue'

Vue.directive('removeAriaHidden', {
  bind (el, binding) {
    const ariaEls = el.querySelectorAll('.el-radio__original')
    ariaEls.forEach((item) => {
      item.removeAttribute('aria-hidden')
    })
  }
})
